/////////////////////////////////////////////////////////////////////////
//
// Amuse Engine SDK - resource
// Copyright( c) 2014.  All Rights Reserved
//
// File:		AEDefaultTextureFormatProvider.h
// Author:		Gianluca Belardelli
// Date:		02/10/2014
//
/////////////////////////////////////////////////////////////////////////
#ifndef _AEDEFAULTTEXTUREFORMATPROVIDER_H_
#define _AEDEFAULTTEXTUREFORMATPROVIDER_H_

class AEDefaultTextureFormatProvider : public AETextureLoaderI
{
// Methods
protected:
	AETexture *_loadDDS( const char *lpFileName );
	AETexture *_loadPNG( const char *lpFileName );
	AETexture *_loadJPG( const char *lpFileName );
	AETexture *_loadTGA( const char *lpFileName );
	AETexture *_loadBMP( const char *lpFileName );

public:
	AE_DECLARE_PLACEMENT_ALLOCATOR();

	virtual const char **GetSupportedFileExtensions( AEINT32 &nListCount );
	virtual AEUINT32 CreateTexture( const char *lpFilename, AEINT32 &nFlags );

};

#endif // _AEDEFAULTTEXTUREFORMATPROVIDER_H_
